

using System;
using System.Collections.Generic;
using System.Text;

namespace EntityLayer
{
	public class entPhotos
	{
	#region Members
		private int _PhotoId;
		private int _PhotoAlbumId;
		private string _PhotoDescription;
		private string _PhotoPath;
        private DateTime _DatePictureTaken;
        private List<entPhotoContents> _PhotoContentsInsert = new List<entPhotoContents>();
        private List<entPhotoContents> _PhotoContentsUpdate = new List<entPhotoContents>();
        private List<entPhotoContents> _PhotoContentsDelete = new List<entPhotoContents>();
	#endregion
	#region Properties
		public int PhotoId
		{
			get { return _PhotoId; }
			set { _PhotoId = value; }
		}
		public int PhotoAlbumId
		{
			get { return _PhotoAlbumId; }
			set { _PhotoAlbumId = value; }
		}
		public string PhotoDescription
		{
			get { return _PhotoDescription; }
			set { _PhotoDescription = value; }
		}
		public string PhotoPath
		{
			get { return _PhotoPath; }
			set { _PhotoPath = value; }
		}
        public DateTime DatePictureTaken
        {
            get { return _DatePictureTaken; }
            set { _DatePictureTaken = value; }
        }

        public List<entPhotoContents> PhotoContentsInsert
        {
            get { return _PhotoContentsInsert; }
            set { _PhotoContentsInsert = value; }
        }
        public List<entPhotoContents> PhotoContentsUpdate
        {
            get { return _PhotoContentsUpdate; }
            set { _PhotoContentsUpdate = value; }
        }
        public List<entPhotoContents> PhotoContentsDelete
        {
            get { return _PhotoContentsDelete; }
            set { _PhotoContentsDelete = value; }
        }
	#endregion
	#region Constuctors
		public entPhotos(int parPhotoAlbumId)
		{
			this._PhotoAlbumId = parPhotoAlbumId;
		}
		public entPhotos(int parPhotoId, string parPhotoDescription, string parPhotoPath)
		{
			this._PhotoId = parPhotoId;
			this._PhotoDescription = parPhotoDescription;
			this._PhotoPath = parPhotoPath;
		}
		public entPhotos(int parPhotoId, int parPhotoAlbumId, string parPhotoDescription, string parPhotoPath)
		{
			this._PhotoId = parPhotoId;
			this._PhotoAlbumId = parPhotoAlbumId;
			this._PhotoDescription = parPhotoDescription;
			this._PhotoPath = parPhotoPath;
		}
		public entPhotos()
		{
		}
	#endregion
	}
}